package com.hxd.otc.module.wallet.bean;

import java.io.Serializable;

/**
 * Created by lzy on 2018/8/21 0021.
 * description ${支付结果Bean}
 */
public class PayOrderResultBean implements Serializable {

    private double amountCoin;//订单所值币种价
    private double amountCny;//订单原价：单位元
    private String coinType;//币种类型
    private String merchantName;//商家名称
    private String orderId;//订单id
    private double rate;//汇率
    private String status;//支付类型：0待支付、1支付处理中、2支付成功、3.支付失败 ,
    private String toAddress;//收款方地址
    private String toUserName;//收款方姓名
    private String rewriteUrl;//重定向页面URL
    private String preId;//预支付id


    public double getAmountCoin() {
        return amountCoin;
    }

    public void setAmountCoin(double amountCoin) {
        this.amountCoin = amountCoin;
    }

    public double getAmountCny() {
        return amountCny;
    }

    public void setAmountCny(double amountCny) {
        this.amountCny = amountCny;
    }

    public String getCoinType() {
        return coinType;
    }

    public void setCoinType(String coinType) {
        this.coinType = coinType;
    }

    public String getMerchantName() {
        return merchantName;
    }

    public void setMerchantName(String merchantName) {
        this.merchantName = merchantName;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public double getRate() {
        return rate;
    }

    public void setRate(double rate) {
        this.rate = rate;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getToAddress() {
        return toAddress;
    }

    public void setToAddress(String toAddress) {
        this.toAddress = toAddress;
    }

    public String getToUserName() {
        return toUserName;
    }

    public void setToUserName(String toUserName) {
        this.toUserName = toUserName;
    }

    public String getRewriteUrl() {
        return rewriteUrl;
    }

    public void setRewriteUrl(String rewriteUrl) {
        this.rewriteUrl = rewriteUrl;
    }

    public String getPreId() {
        return preId;
    }

    public void setPreId(String preId) {
        this.preId = preId;
    }

    @Override
    public String toString() {
        return "PayOrderResultBean{" +
                "amount=" + amountCoin +
                ", amountCny=" + amountCny +
                ", coinType='" + coinType + '\'' +
                ", merchantName='" + merchantName + '\'' +
                ", orderId='" + orderId + '\'' +
                ", rate=" + rate +
                ", status='" + status + '\'' +
                ", toAddress='" + toAddress + '\'' +
                ", toUserName='" + toUserName + '\'' +
                ", rewriteUrl='" + rewriteUrl + '\'' +
                ", preId='" + preId + '\'' +
                '}';
    }
}
